What is wilson prime?

A Wilson prime is a prime number p such that p^2 divides (p-1)! + 1. The first few Wilson primes are 5, 13, and 563. They are named after the mathematician John Wilson, who first described them in 1961. Wilson primes have important applications in cryptography and coding theory, and are considered to be rare and interesting examples of prime numbers with special properties. Wilson's Theorem, which states that a number p is prime if and only if (p-1)! = -1 (mod p), is closely related to the concept of Wilson primes.